-- GENERATED SPELL FOR [Onslaught Workman] --


function spell0_27207(pUnit, Event) --@Chop,n/a--
pUnit:FullCastSpellOnTarget(43410,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27207', 5261, 1)
end

function Sorts_27207(pUnit, Event)
local choix_sorts_27207 = math.random(0, 0)
if choix_sorts_27207 == 0 then
pUnit:RegisterEvent('spell0_27207', 1, 1)
end
end

function mob27207_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27207', math.random(1500, 3000), 1)
end

function mob27207_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27207_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27207_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27207, 1, 'mob27207_Action')
RegisterUnitEvent(27207, 2, 'mob27207_Leave')
RegisterUnitEvent(27207, 3, 'mob27207_Kill')
RegisterUnitEvent(27207, 4, 'mob27207_Die')
